CREATE TABLE [dbo].[tb_FactoresContaminantes]
(
[IdFactorContaminante] [int] NOT NULL IDENTITY(1, 1),
[Descripcion] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Edificio] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_FactoresContaminantes] ADD CONSTRAINT [PK_tb_FactoresContaminantes] PRIMARY KEY NONCLUSTERED  ([IdFactorContaminante]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[tb_FactoresContaminantes] WITH NOCHECK ADD CONSTRAINT [FK_tb_FactoresContaminantes_tb_Edificios] FOREIGN KEY ([Edificio]) REFERENCES [dbo].[tb_Edificios] ([idEdificio])
GO
